import React from 'react'
import Iframe from 'react-iframe'
import routerconfig from '../router'
import {useRoutes} from "react-router-dom"
import {Suspense} from "react"
function App() {
 // iframe标签在h5中支持h5唤醒app（安卓端）
  return (
     <Suspense fallback={<div>...loading</div>}>
          {
              useRoutes(routerconfig)
          } 
     </Suspense>
      
  )
}

export default App